package com.ruoyi.teaching.bo;

import java.util.Objects;

/**
 * @author coach tam
 * @email 327395128@qq.com
 * @values 坚持灵活 灵活坚持
 * @since 2024/3/27
 */
public class HolidayConfigBo {
    private Integer count;
    private String description;
    private String date;

    public HolidayConfigBo() {
    }


    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        HolidayConfigBo that = (HolidayConfigBo) o;
        return Objects.equals(count, that.count) && Objects.equals(description, that.description) && Objects.equals(date, that.date);
    }

    @Override
    public int hashCode() {
        return Objects.hash(count, description, date);
    }

    @Override
    public String toString() {
        return "HolidayConfigBo{" +
                "count=" + count +
                ", description='" + description + '\'' +
                ", date='" + date + '\'' +
                '}';
    }
}
